package com.zelix;

public class yn
        implements kn {

    private kd a;
    private String b;
    private static String z;

    public yn(kd kd1, String s) {
        a = kd1;
        b = s;
    }

    public boolean equals(Object obj) {
        boolean flag;
        yn yn1;
        if ((obj instanceof yn)) {
            yn1 = (yn) obj;
            if (a != null) {
                if (yn1.a != null) {
                    flag = a.equals(yn1.a);
                } else {
                    flag = false;
                }
            } else {
                flag = yn1.a == null;
            }
            if (flag) {
                if (b != null) {
                    if (yn1.b != null)
                        return b.equals(yn1.b);
                    else
                        return false;
                } else {
                    return yn1.b == null;
                }
            } else {
                return false;
            }
        }
        return false;
    }

    public String a() {
        StringBuffer stringbuffer = new StringBuffer();
        stringbuffer.append("<");
        if (a != null)
            switch (a.f()) {
                case 182:
                case 183:
                case 185:
                    zd zd1 = (zd) a;
                    ss ss1 = (ss) zd1.p();
                    stringbuffer.append(zd1.e() + " " + ss1.b() + "." + ss1.n() + " ");
                    break;

                case 184:
                default:
                    stringbuffer.append(a.e() + " ");
                    break;
            }
        stringbuffer.append("'" + b + z);
        return stringbuffer.toString();
    }

    public String g() {
        return b;
    }

    public String b() {
        return null;
    }

    public int c() {
        return -1;
    }

    public String d() {
        return b();
    }

    public int hashCode() {
        int i = 0;
        if (a != null)
            i = a.hashCode();
        if (b != null)
            i ^= b.hashCode();
        return i;
    }

    public boolean e() {
        return false;
    }

    public boolean f() {
        return false;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 63;
                    break;
                case 1:
                    key = 105;
                    break;
                case 2:
                    key = 45;
                    break;
                case 3:
                    key = 51;
                    break;
                default:
                    key = 1;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        z = "\030W";
        z = z(z.toCharArray());
    }
}
